package com.hand.hap.demo.service.impl;

import com.hand.hap.code.rule.exception.CodeRuleException;
import com.hand.hap.code.rule.service.ISysCodeRuleProcessService;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @author shuai.wang02@hand-china.com
 * @version 1.0
 * @description
 * @date 2018/8/8 08:54
 */
public class CodeRuleServiceImpl  {

    @Autowired
    ISysCodeRuleProcessService codeRuleProcessService;

    @Test
    public String codeRoleTest() throws CodeRuleException {

        String k=codeRuleProcessService.getRuleCode("TASK_EXECUTION_CODE");

        return k;
    }
}
